home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr54 / bos2ol.zip / BOSS2OL.DOC < prev    next >
Text File  |  1993-06-01  |  4KB  |  85 lines

  1. BOSS2OL is a conversion program to convert Casio BOSS record format to
  2. the Sharp Wizard Organizer Link 2 format.  Both the input and output
  3. files are assumed to be in the SDF (Standard Delimited Format).  The
  4. Sharp software supports import and export in this format and it is the 
  5. easiest for the BOSS2OL program to read and write.  I don't recall if
  6. the Casio software supports an import / export function, but I believe
  7. that they store their information in the SDF format all the time.  You
  8. can simply seperate the sections of the Casio file and write them to
  9. different files.
  10.  
  11. BOSS2OL supports 4 different file types.  The reason to seperate the
  12. data before conversion is one of simplicity for the conversion code. 
  13. It is much easier for the code to know which type of conversion it is
  14. doing than to have to guess which record type this might be (ie. the
  15. programmer was lazy).  
  16.  
  17. The first file type is Telephone (code letter 'P' for Phone).  The
  18. phone file on the Casio has 9 fields while the Sharp only has 3.  I
  19. made several assumptions about the format of data in the "free" fields
  20. on the Casio.  I use the first free field as the name of the spouse for
  21. the main record.  Because of this, I append the first free field to the
  22. end of the name field on the Sharp.  All other free fields are appended
  23. to the end of the address field on the Sharp.  Also, because lower case
  24. is really not supported on the Sharp, I convert the phone record to
  25. upper case.
  26.  
  27. The second file type is Business card (code letter 'B').  The Sharp
  28. does not have a Business card section (at least not on the ZQ-5200 that
  29. I own) so I have to convert the many Casio fields to the 3 Sharp
  30. fields.  I took several liberties here because of the way I used the
  31. "free" fields on the Casio.  I use free1 as the home address for the
  32. person on the card and I use free2 for the home phone.  Because of
  33. these assumptions and because of the lack of fields on the Sharp the
  34. following conversions are preformed.  Append the employeer, position
  35. and department to the name field.  Append the telex, fax and home phone
  36. to the phone field.  Append the P.O. Box, home address and the
  37. remaining 4 free fields to the address field.  Again, because lower
  38. case is not supported on the Sharp, I convert the entire record to
  39. upper case.
  40.  
  41. The third file type is Novell Business card (code letter 'N').  I
  42. happen to work at Novell and I have a large number of entries in the
  43. Business card section on the Casio that are Novell employees.  The
  44. Sharp supports 3 telephone books, so I used one for personal, one for
  45. business (other than Novell), and one for Novell employees.  Thus,
  46. there is a special business card conversion for "Novell" records.  For
  47. the Novell section I do the following.  Trash the employeer (I know it
  48. is Novell).  Append the position and depertment to the name.  Append
  49. the telex, fax and home phone to the phone field.  Append the P.O. Box,
  50. home address and the 4 remaining free fields to the address field.  I
  51. also convert the record to upper case as before. 
  52.  
  53. The last file type is the Schedule (code letter 'S').  The schedule 
  54. records on the Casio are almost exactly the same as on the Sharp except
  55. that the date is formated differently (YYYY-MM-DD vs. MM/DD/YYYY) and
  56. the time is in 12 hour format on the Sharp and 24 hour format on the
  57. BOSS.
  58.  
  59. Well, that about covers all the information that you might need to know
  60. to convert your data from the Casio to the Sharp.  If you need to
  61. change any of the conversion routines, the source is included, so go 
  62. for it!  The source was compiled with Borland C and is pretty much ANSI
  63. standard stuff.  It should (no guarantees) compile unmodified on most
  64. any decent C compiler for the PC.
  65.  
  66. Usage: BOSS2OL type infile outfile
  67.        'type' can be one of the following
  68.             P = telePhone
  69.             B = Business card
  70.             N = Novell business card
  71.             S = Schedule
  72.  
  73. If you have any questions, or if you have any cash that is burning a
  74. whole in your pocket, please contact me at the following address.
  75.  
  76. James H. Brown
  77.  
  78. CIS: 75730,212
  79. MHS: JBrown@Novell
  80.  
  81. Postal: (Only if really desparate and willing to wait a long time for
  82. an answer)
  83.     255 W. 2000 S.
  84.     Orem, UT  84058
  85.